package com.atguigu.gulimall.gulimallorder.to;

import com.atguigu.gulimall.gulimallorder.entity.OrderEntity;
import com.atguigu.gulimall.gulimallorder.entity.OrderItemEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author: Zjn ; Bring it on !!!
 * @Date: 2021/11/28 0028 18:37
 * Note:
 */
@Data
public class OrderCreateTo {
    private OrderEntity order;

    private List<OrderItemEntity> orderItems;

    private BigDecimal payPrice; //订单计算的应付价格

    private BigDecimal fare;//运费
}
